package com.text.entity;

import java.io.Serializable;
/**
 * (Car)实体类
 *
 * @author makejava
 * @since 2023-06-27 14:58:35
 */
public class Car implements Serializable {
    /**
     * 购物车id
     */
    private Integer id;
    /**
     * 会员id
     */
    private Integer userId;
    /**
     * 商品id
     */
    private Integer goodsId;
    /**
     * 购买数量
     */
    private Integer carNum;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getCarNum() {
        return carNum;
    }

    public void setCarNum(Integer carNum) {
        this.carNum = carNum;
    }

}

